package com.dims_hsrc.audit.domain;

import java.util.Date;
import com.dims_hsrc.common.core.domain.BaseEntity;

/**
 * 合同区块链信息对象 contract_blockchain
 * 
 * @author Claude
 */
public class ContractBlockchain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 合同编号 */
    private String contractNo;

    /** 合同哈希 */
    private String contractHash;

    /** 交易哈希 */
    private String txHash;

    /** 链上状态：PENDING-上链中，CONFIRMED-已上链，FAILED-上链失败 */
    private String chainStatus;

    /** 上链时间 */
    private Date chainTime;

    /** 存证编号 */
    private String chainCertNo;

    /** 备注 */
    private String remark;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setContractHash(String contractHash) 
    {
        this.contractHash = contractHash;
    }

    public String getContractHash() 
    {
        return contractHash;
    }
    public void setTxHash(String txHash) 
    {
        this.txHash = txHash;
    }

    public String getTxHash() 
    {
        return txHash;
    }
    public void setChainStatus(String chainStatus) 
    {
        this.chainStatus = chainStatus;
    }

    public String getChainStatus() 
    {
        return chainStatus;
    }
    public void setChainTime(Date chainTime) 
    {
        this.chainTime = chainTime;
    }

    public Date getChainTime() 
    {
        return chainTime;
    }
    public void setChainCertNo(String chainCertNo) 
    {
        this.chainCertNo = chainCertNo;
    }

    public String getChainCertNo() 
    {
        return chainCertNo;
    }
    public void setRemark(String remark) 
    {
        this.remark = remark;
    }

    public String getRemark() 
    {
        return remark;
    }
} 